package com.ruoyi.business.service;

import com.ruoyi.business.domain.Staff;

import java.util.List;

/***
 * @author win
 * @date 2021-06-14
 */
public interface IStaffService
{
    /**
     *
     */
    public Staff selectStaffById(Long id);

    /**
     * @return Category集合
     */
    public List<Staff> selectStaffList(Staff staff);

    /**
     * @return 结果
     */
    public int insertStaff(Staff staff);

    /**
     * @return 结果
     */
    public int updateStaff(Staff staff);

    /**
     * @return 结果
     */
    public int deleteStaffByIds(Long[] ids);

    /**
     * @return 结果
     */
    public int deleteStaffById(Long id);

    /**
     * 通过ip查找对应的人员信息
     * @param clientIp
     * @return
     */
    Staff selectStaffByIp(String clientIp);
}
